<?php

namespace app\index\controller;

class Member
{

    public function __construct()
    {
        $memberId = session('member_id');
        if (empty($memberId)) redirection('/index/index/index/');
    }

    public function index()
    {
        echo '这是已登录之后默认跳到的界面';
    }

}
